package com.cpfmat.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping(path = "/manage")
public class ManageController {
	@RequestMapping
	public ModelAndView init() {
		ModelAndView view = new ModelAndView("/manage/homePage");
		return view;
	}

	@RequestMapping(path = "/login")
	@ResponseBody
	public boolean login(String loginName, String loginPwd) {
		boolean check = false;
		return check;
	}
	
	@RequestMapping(path = "/init")
	@ResponseBody
	public boolean home() {
		boolean check = false;
		return check;
	}
}